package at.fhj.itm.refactor;

import java.sql.Connection;
import java.util.List;

import at.fhj.itm.generator.SqlCodeGenerator;
import at.fhj.itm.metadata.DepdendencyProvider;
import at.fhj.itm.metadata.MetadataProvider;

/**
 * Acts an an starting point for performing refactoring related task
 * 
 * @author Seuchter
 *
 */
public class RefactoringSuite {
	private List<Refactoring> refactorings;
	private MetadataProvider metadataProvider;
	private SqlCodeGenerator codeGenerator;
	private Connection databaseConnection;
	private DepdendencyProvider dependencyProvider;
	
	public RefactoringSuite(final List<Refactoring> refactorings,
			final MetadataProvider metadataProvider, final DepdendencyProvider depdendencyProvider, 
			final SqlCodeGenerator codeGenerator,
			final Connection databaseConnection) {
		super();
		this.refactorings = refactorings;
		this.metadataProvider = metadataProvider;
		this.dependencyProvider = depdendencyProvider;
		this.codeGenerator = codeGenerator;
		this.databaseConnection = databaseConnection;
	}
	
	public MetadataProvider getMetadataProvider(){
		return metadataProvider;
	}
	public DepdendencyProvider getDepdendencyProvider(){
		return dependencyProvider;
	}
	public Connection getDatabaseConnection(){
		return databaseConnection;
	}
	public SqlCodeGenerator getCodeGenerator(){
		return codeGenerator;
	}
	public List<Refactoring> getRefactorings(){
		return refactorings;
	}
	
	
	
}
